import { request } from './request.js';
export const getTelBookList = (params) => {
  return request({
    url: '/Maintain/SelectBook/btn-telbooksearch',
    method: 'get',
    params,
  });
};
export const addTelBook = (data) => {
  return request({
    url: '/Maintain/AddBook/btn-telbookadd',
    method: 'post',
    data,
  });
};
export const deleteTelBook = (params) => {
  return request({
    url: '/Maintain/DeleteBook/btn-telbookdelete',
    method: 'get',
    params,
  });
};
export const editTelBook = (data) => {
  return request({
    url: '/Maintain/UpdateBook/btn-telbookupdate',
    method: 'post',
    data,
  });
};

export const addTelBookList = (data) => {
  return request({
    url: '/Maintain/AddBookList/btn-telbookload',
    method: 'post',
    data,
  });
};
